package com.ocom.payconfig.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.request.payconfig.GetOrderMealLeaveRequest;
import com.ocom.common.request.payconfig.MealLeaveReports;
import com.ocom.common.entity.payconfig.EntityXfMealLeave;


import java.text.ParseException;
import java.util.List;

public interface XfMealLeaveService extends IService<EntityXfMealLeave> {


    List<EntityXfMealLeave> queryMealLeave(Long companyId, MealLeaveReports mealLeaveReports);

    List<EntityXfMealLeave> getOrderMealLeave(Long companyId, GetOrderMealLeaveRequest getOrderMealLeaveRequest);

    int setOrderMealLeaveRequest(Long companyId, EntityXfMealLeave xfMealLeave) throws ParseException;

    int perLeaveDays(Long companyId, Long pId ,Integer mealNo,List<String> days) ;
}
